import { Base } from '../../../utils/base.js';
class HomeIndex extends Base {
  constructor() {
    super();
  }

  cancel(data, callback) {  //订单
    var param = {
      url: 'order/cancel',
      type: "post",
      data: data,
      sCallback: function (data) {
        callback && callback(data);
      }
    };
    this.request(param);
  }

};
export { HomeIndex };